package com.hxs.hxsserver.mapper.device;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hxs.hxsserver.domain.dto.device.DeviceStatusQueryDTO;
import com.hxs.hxsserver.domain.entity.device.DeviceStatusHistory;
import com.hxs.hxsserver.domain.entity.user.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author liuchuan
 * @create 2024/10/15
 */
@Repository
public interface DeviceStatusHistoryMapper extends BaseMapper<DeviceStatusHistory>  {
    int updateByPrimaryKeySelective(DeviceStatusHistory record);

    int updateByPrimaryKey(DeviceStatusHistory record);

    IPage<DeviceStatusHistory> getDeviceStatusHisList(@Param("page") Page<DeviceStatusHistory> page, @Param("deviceListQueryDTO")DeviceStatusQueryDTO deviceListQueryDTO);
}